package com.ly.mybatis.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author ly
 * @since 2021-01-20
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class Order implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.ID_WORKER_STR)
    private String id;

    private String studentNumber;

    /**
     * 订单创建时间
     */
    private String createTime;

    /**
     * 订单交易时间
     */
    private String dealTime;

    /**
     * 订单状态 0创建等待支付，1完成支付，2取消
     */
    private Integer state;

    private Double price;


}
